Skip to content

[pull] main from withastro:main#429

Merged
pull[bot] merged 8 commits intocode:mainfrom
withastro:main
Mar 9, 2026
Merged

[pull] main from withastro:main#429
pull[bot] merged 8 commits intocode:mainfrom
withastro:main

Conversation

@pull
Copy link

@pull pull bot commented Mar 9, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

rururux and others added 8 commits March 9, 2026 10:59
…Deps.include` (#15798)

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* fix(cache): make disabled cache no-op instead of throwing

Libraries using Astro.cache/context.cache shouldn't need try/catch
to handle the case where caching isn't configured. DisabledAstroCache
now silently no-ops with a one-time console warning instead of throwing.
invalidate() still throws since callers expect purging to work.

Adds cache.enabled property to CacheLike so libraries can check
whether caching is active.

* Use logger

* Update .changeset/cache-disabled-no-throw.md

Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>

---------

Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
Co-authored-by: astrobot-houston <fred+astrobot@astro.build>
@pull pull bot locked and limited conversation to collaborators Mar 9, 2026
@pull pull bot added the ⤵️ pull label Mar 9, 2026
@pull pull bot merged commit dc175aa into code:main Mar 9, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants